package song.yun;

public class exception_jicheng extends Exception{
    private String shuoming;
    public exception_jicheng(String s){
        super();
        this.shuoming = s;
    }
    public void print(){
        System.out.println("有异常" + this.shuoming);
    }
    public void printStackTrace(){
        System.out.println(this.shuoming);
    }
}
